//
//  BaseTabBarControler.m
//  GuiJuWo
//
//  Created by chenguibang on 16/4/1.
//  Copyright © 2016年 chenguibang. All rights reserved.
//

#import "BaseTabBarControler.h"

@interface BaseTabBarControler ()

@end

@implementation BaseTabBarControler

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.tabbar.backgroundColor = UIColorWithRandom;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


-(UITabBar *)tabbar{
    if (!_tabbar) {
        _tabbar = [[UITabBar alloc]initWithFrame:CGRectMake(0, SCREEN_HEIGHT-49, SCREEN_WIDTH, 49)];
        [self.view addSubview:_tabbar];
    }
    return _tabbar;
}


@end
